<?php
require_once("sms_config.php");

if ( TestTransaction( $_GET['transaction'], $your_pass, $_GET['id'] ) ){
    echo "Jusu tekstas gautas ir patalpintas svetaineje www.mrcbug.com. Geros jums dienos :)"; //suteikiam atsakyma vartotojui siuntusiam SMS
    AddToShowList(str_replace($keyword." ","",$_GET['sms'])); //išsaugome žinute faile.
} else {
    echo "Bomzams NE!"; //i faila kreipesi ne mokejimai.lt serveris, todel nieko daryti nereikia.
}
 
function TestTransaction( $transaction, $userPassword, $ordeID, $test = 0, $status = 1 ){
	return ( $transaction == md5("{$userPassword}|{$_SERVER['REMOTE_ADDR']}|{$ordeID}|{$test}|{$status}") );
}
?>